package com.atguigu.ggkt.vod.mapper;

import com.atguigu.ggkt.model.vod.VideoVisitor;
import com.atguigu.ggkt.vo.vod.VideoVisitorCountVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author 欣欣
* @description 针对表【video_visitor(视频来访者记录表)】的数据库操作Mapper
* @createDate 2022-09-25 10:29:42
* @Entity com.atguigu.ggkt.vod.VideoVisitor
*/
@Mapper
public interface VideoVisitorMapper extends BaseMapper<VideoVisitor> {

    List<VideoVisitorCountVo> findCountByCon(@Param("courseId") Long courseId,@Param("startDate") String startDate,@Param("endDate") String endDate);
}




